package com.cause.entiy.user;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class UserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUnameIsNull() {
            addCriterion("uname is null");
            return (Criteria) this;
        }

        public Criteria andUnameIsNotNull() {
            addCriterion("uname is not null");
            return (Criteria) this;
        }

        public Criteria andUnameEqualTo(String value) {
            addCriterion("uname =", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameNotEqualTo(String value) {
            addCriterion("uname <>", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameGreaterThan(String value) {
            addCriterion("uname >", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameGreaterThanOrEqualTo(String value) {
            addCriterion("uname >=", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameLessThan(String value) {
            addCriterion("uname <", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameLessThanOrEqualTo(String value) {
            addCriterion("uname <=", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameLike(String value) {
            addCriterion("uname like", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameNotLike(String value) {
            addCriterion("uname not like", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameIn(List<String> values) {
            addCriterion("uname in", values, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameNotIn(List<String> values) {
            addCriterion("uname not in", values, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameBetween(String value1, String value2) {
            addCriterion("uname between", value1, value2, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameNotBetween(String value1, String value2) {
            addCriterion("uname not between", value1, value2, "uname");
            return (Criteria) this;
        }

        public Criteria andUpwdIsNull() {
            addCriterion("upwd is null");
            return (Criteria) this;
        }

        public Criteria andUpwdIsNotNull() {
            addCriterion("upwd is not null");
            return (Criteria) this;
        }

        public Criteria andUpwdEqualTo(String value) {
            addCriterion("upwd =", value, "upwd");
            return (Criteria) this;
        }

        public Criteria andUpwdNotEqualTo(String value) {
            addCriterion("upwd <>", value, "upwd");
            return (Criteria) this;
        }

        public Criteria andUpwdGreaterThan(String value) {
            addCriterion("upwd >", value, "upwd");
            return (Criteria) this;
        }

        public Criteria andUpwdGreaterThanOrEqualTo(String value) {
            addCriterion("upwd >=", value, "upwd");
            return (Criteria) this;
        }

        public Criteria andUpwdLessThan(String value) {
            addCriterion("upwd <", value, "upwd");
            return (Criteria) this;
        }

        public Criteria andUpwdLessThanOrEqualTo(String value) {
            addCriterion("upwd <=", value, "upwd");
            return (Criteria) this;
        }

        public Criteria andUpwdLike(String value) {
            addCriterion("upwd like", value, "upwd");
            return (Criteria) this;
        }

        public Criteria andUpwdNotLike(String value) {
            addCriterion("upwd not like", value, "upwd");
            return (Criteria) this;
        }

        public Criteria andUpwdIn(List<String> values) {
            addCriterion("upwd in", values, "upwd");
            return (Criteria) this;
        }

        public Criteria andUpwdNotIn(List<String> values) {
            addCriterion("upwd not in", values, "upwd");
            return (Criteria) this;
        }

        public Criteria andUpwdBetween(String value1, String value2) {
            addCriterion("upwd between", value1, value2, "upwd");
            return (Criteria) this;
        }

        public Criteria andUpwdNotBetween(String value1, String value2) {
            addCriterion("upwd not between", value1, value2, "upwd");
            return (Criteria) this;
        }

        public Criteria andUxmIsNull() {
            addCriterion("uxm is null");
            return (Criteria) this;
        }

        public Criteria andUxmIsNotNull() {
            addCriterion("uxm is not null");
            return (Criteria) this;
        }

        public Criteria andUxmEqualTo(String value) {
            addCriterion("uxm =", value, "uxm");
            return (Criteria) this;
        }

        public Criteria andUxmNotEqualTo(String value) {
            addCriterion("uxm <>", value, "uxm");
            return (Criteria) this;
        }

        public Criteria andUxmGreaterThan(String value) {
            addCriterion("uxm >", value, "uxm");
            return (Criteria) this;
        }

        public Criteria andUxmGreaterThanOrEqualTo(String value) {
            addCriterion("uxm >=", value, "uxm");
            return (Criteria) this;
        }

        public Criteria andUxmLessThan(String value) {
            addCriterion("uxm <", value, "uxm");
            return (Criteria) this;
        }

        public Criteria andUxmLessThanOrEqualTo(String value) {
            addCriterion("uxm <=", value, "uxm");
            return (Criteria) this;
        }

        public Criteria andUxmLike(String value) {
            addCriterion("uxm like", value, "uxm");
            return (Criteria) this;
        }

        public Criteria andUxmNotLike(String value) {
            addCriterion("uxm not like", value, "uxm");
            return (Criteria) this;
        }

        public Criteria andUxmIn(List<String> values) {
            addCriterion("uxm in", values, "uxm");
            return (Criteria) this;
        }

        public Criteria andUxmNotIn(List<String> values) {
            addCriterion("uxm not in", values, "uxm");
            return (Criteria) this;
        }

        public Criteria andUxmBetween(String value1, String value2) {
            addCriterion("uxm between", value1, value2, "uxm");
            return (Criteria) this;
        }

        public Criteria andUxmNotBetween(String value1, String value2) {
            addCriterion("uxm not between", value1, value2, "uxm");
            return (Criteria) this;
        }

        public Criteria andUqqIsNull() {
            addCriterion("uqq is null");
            return (Criteria) this;
        }

        public Criteria andUqqIsNotNull() {
            addCriterion("uqq is not null");
            return (Criteria) this;
        }

        public Criteria andUqqEqualTo(String value) {
            addCriterion("uqq =", value, "uqq");
            return (Criteria) this;
        }

        public Criteria andUqqNotEqualTo(String value) {
            addCriterion("uqq <>", value, "uqq");
            return (Criteria) this;
        }

        public Criteria andUqqGreaterThan(String value) {
            addCriterion("uqq >", value, "uqq");
            return (Criteria) this;
        }

        public Criteria andUqqGreaterThanOrEqualTo(String value) {
            addCriterion("uqq >=", value, "uqq");
            return (Criteria) this;
        }

        public Criteria andUqqLessThan(String value) {
            addCriterion("uqq <", value, "uqq");
            return (Criteria) this;
        }

        public Criteria andUqqLessThanOrEqualTo(String value) {
            addCriterion("uqq <=", value, "uqq");
            return (Criteria) this;
        }

        public Criteria andUqqLike(String value) {
            addCriterion("uqq like", value, "uqq");
            return (Criteria) this;
        }

        public Criteria andUqqNotLike(String value) {
            addCriterion("uqq not like", value, "uqq");
            return (Criteria) this;
        }

        public Criteria andUqqIn(List<String> values) {
            addCriterion("uqq in", values, "uqq");
            return (Criteria) this;
        }

        public Criteria andUqqNotIn(List<String> values) {
            addCriterion("uqq not in", values, "uqq");
            return (Criteria) this;
        }

        public Criteria andUqqBetween(String value1, String value2) {
            addCriterion("uqq between", value1, value2, "uqq");
            return (Criteria) this;
        }

        public Criteria andUqqNotBetween(String value1, String value2) {
            addCriterion("uqq not between", value1, value2, "uqq");
            return (Criteria) this;
        }

        public Criteria andUzjhmIsNull() {
            addCriterion("uzjhm is null");
            return (Criteria) this;
        }

        public Criteria andUzjhmIsNotNull() {
            addCriterion("uzjhm is not null");
            return (Criteria) this;
        }

        public Criteria andUzjhmEqualTo(String value) {
            addCriterion("uzjhm =", value, "uzjhm");
            return (Criteria) this;
        }

        public Criteria andUzjhmNotEqualTo(String value) {
            addCriterion("uzjhm <>", value, "uzjhm");
            return (Criteria) this;
        }

        public Criteria andUzjhmGreaterThan(String value) {
            addCriterion("uzjhm >", value, "uzjhm");
            return (Criteria) this;
        }

        public Criteria andUzjhmGreaterThanOrEqualTo(String value) {
            addCriterion("uzjhm >=", value, "uzjhm");
            return (Criteria) this;
        }

        public Criteria andUzjhmLessThan(String value) {
            addCriterion("uzjhm <", value, "uzjhm");
            return (Criteria) this;
        }

        public Criteria andUzjhmLessThanOrEqualTo(String value) {
            addCriterion("uzjhm <=", value, "uzjhm");
            return (Criteria) this;
        }

        public Criteria andUzjhmLike(String value) {
            addCriterion("uzjhm like", value, "uzjhm");
            return (Criteria) this;
        }

        public Criteria andUzjhmNotLike(String value) {
            addCriterion("uzjhm not like", value, "uzjhm");
            return (Criteria) this;
        }

        public Criteria andUzjhmIn(List<String> values) {
            addCriterion("uzjhm in", values, "uzjhm");
            return (Criteria) this;
        }

        public Criteria andUzjhmNotIn(List<String> values) {
            addCriterion("uzjhm not in", values, "uzjhm");
            return (Criteria) this;
        }

        public Criteria andUzjhmBetween(String value1, String value2) {
            addCriterion("uzjhm between", value1, value2, "uzjhm");
            return (Criteria) this;
        }

        public Criteria andUzjhmNotBetween(String value1, String value2) {
            addCriterion("uzjhm not between", value1, value2, "uzjhm");
            return (Criteria) this;
        }

        public Criteria andUtelIsNull() {
            addCriterion("utel is null");
            return (Criteria) this;
        }

        public Criteria andUtelIsNotNull() {
            addCriterion("utel is not null");
            return (Criteria) this;
        }

        public Criteria andUtelEqualTo(String value) {
            addCriterion("utel =", value, "utel");
            return (Criteria) this;
        }

        public Criteria andUtelNotEqualTo(String value) {
            addCriterion("utel <>", value, "utel");
            return (Criteria) this;
        }

        public Criteria andUtelGreaterThan(String value) {
            addCriterion("utel >", value, "utel");
            return (Criteria) this;
        }

        public Criteria andUtelGreaterThanOrEqualTo(String value) {
            addCriterion("utel >=", value, "utel");
            return (Criteria) this;
        }

        public Criteria andUtelLessThan(String value) {
            addCriterion("utel <", value, "utel");
            return (Criteria) this;
        }

        public Criteria andUtelLessThanOrEqualTo(String value) {
            addCriterion("utel <=", value, "utel");
            return (Criteria) this;
        }

        public Criteria andUtelLike(String value) {
            addCriterion("utel like", value, "utel");
            return (Criteria) this;
        }

        public Criteria andUtelNotLike(String value) {
            addCriterion("utel not like", value, "utel");
            return (Criteria) this;
        }

        public Criteria andUtelIn(List<String> values) {
            addCriterion("utel in", values, "utel");
            return (Criteria) this;
        }

        public Criteria andUtelNotIn(List<String> values) {
            addCriterion("utel not in", values, "utel");
            return (Criteria) this;
        }

        public Criteria andUtelBetween(String value1, String value2) {
            addCriterion("utel between", value1, value2, "utel");
            return (Criteria) this;
        }

        public Criteria andUtelNotBetween(String value1, String value2) {
            addCriterion("utel not between", value1, value2, "utel");
            return (Criteria) this;
        }

        public Criteria andUsjIsNull() {
            addCriterion("usj is null");
            return (Criteria) this;
        }

        public Criteria andUsjIsNotNull() {
            addCriterion("usj is not null");
            return (Criteria) this;
        }

        public Criteria andUsjEqualTo(String value) {
            addCriterion("usj =", value, "usj");
            return (Criteria) this;
        }

        public Criteria andUsjNotEqualTo(String value) {
            addCriterion("usj <>", value, "usj");
            return (Criteria) this;
        }

        public Criteria andUsjGreaterThan(String value) {
            addCriterion("usj >", value, "usj");
            return (Criteria) this;
        }

        public Criteria andUsjGreaterThanOrEqualTo(String value) {
            addCriterion("usj >=", value, "usj");
            return (Criteria) this;
        }

        public Criteria andUsjLessThan(String value) {
            addCriterion("usj <", value, "usj");
            return (Criteria) this;
        }

        public Criteria andUsjLessThanOrEqualTo(String value) {
            addCriterion("usj <=", value, "usj");
            return (Criteria) this;
        }

        public Criteria andUsjLike(String value) {
            addCriterion("usj like", value, "usj");
            return (Criteria) this;
        }

        public Criteria andUsjNotLike(String value) {
            addCriterion("usj not like", value, "usj");
            return (Criteria) this;
        }

        public Criteria andUsjIn(List<String> values) {
            addCriterion("usj in", values, "usj");
            return (Criteria) this;
        }

        public Criteria andUsjNotIn(List<String> values) {
            addCriterion("usj not in", values, "usj");
            return (Criteria) this;
        }

        public Criteria andUsjBetween(String value1, String value2) {
            addCriterion("usj between", value1, value2, "usj");
            return (Criteria) this;
        }

        public Criteria andUsjNotBetween(String value1, String value2) {
            addCriterion("usj not between", value1, value2, "usj");
            return (Criteria) this;
        }

        public Criteria andUemailIsNull() {
            addCriterion("uemail is null");
            return (Criteria) this;
        }

        public Criteria andUemailIsNotNull() {
            addCriterion("uemail is not null");
            return (Criteria) this;
        }

        public Criteria andUemailEqualTo(String value) {
            addCriterion("uemail =", value, "uemail");
            return (Criteria) this;
        }

        public Criteria andUemailNotEqualTo(String value) {
            addCriterion("uemail <>", value, "uemail");
            return (Criteria) this;
        }

        public Criteria andUemailGreaterThan(String value) {
            addCriterion("uemail >", value, "uemail");
            return (Criteria) this;
        }

        public Criteria andUemailGreaterThanOrEqualTo(String value) {
            addCriterion("uemail >=", value, "uemail");
            return (Criteria) this;
        }

        public Criteria andUemailLessThan(String value) {
            addCriterion("uemail <", value, "uemail");
            return (Criteria) this;
        }

        public Criteria andUemailLessThanOrEqualTo(String value) {
            addCriterion("uemail <=", value, "uemail");
            return (Criteria) this;
        }

        public Criteria andUemailLike(String value) {
            addCriterion("uemail like", value, "uemail");
            return (Criteria) this;
        }

        public Criteria andUemailNotLike(String value) {
            addCriterion("uemail not like", value, "uemail");
            return (Criteria) this;
        }

        public Criteria andUemailIn(List<String> values) {
            addCriterion("uemail in", values, "uemail");
            return (Criteria) this;
        }

        public Criteria andUemailNotIn(List<String> values) {
            addCriterion("uemail not in", values, "uemail");
            return (Criteria) this;
        }

        public Criteria andUemailBetween(String value1, String value2) {
            addCriterion("uemail between", value1, value2, "uemail");
            return (Criteria) this;
        }

        public Criteria andUemailNotBetween(String value1, String value2) {
            addCriterion("uemail not between", value1, value2, "uemail");
            return (Criteria) this;
        }

        public Criteria andUcityIsNull() {
            addCriterion("ucity is null");
            return (Criteria) this;
        }

        public Criteria andUcityIsNotNull() {
            addCriterion("ucity is not null");
            return (Criteria) this;
        }

        public Criteria andUcityEqualTo(String value) {
            addCriterion("ucity =", value, "ucity");
            return (Criteria) this;
        }

        public Criteria andUcityNotEqualTo(String value) {
            addCriterion("ucity <>", value, "ucity");
            return (Criteria) this;
        }

        public Criteria andUcityGreaterThan(String value) {
            addCriterion("ucity >", value, "ucity");
            return (Criteria) this;
        }

        public Criteria andUcityGreaterThanOrEqualTo(String value) {
            addCriterion("ucity >=", value, "ucity");
            return (Criteria) this;
        }

        public Criteria andUcityLessThan(String value) {
            addCriterion("ucity <", value, "ucity");
            return (Criteria) this;
        }

        public Criteria andUcityLessThanOrEqualTo(String value) {
            addCriterion("ucity <=", value, "ucity");
            return (Criteria) this;
        }

        public Criteria andUcityLike(String value) {
            addCriterion("ucity like", value, "ucity");
            return (Criteria) this;
        }

        public Criteria andUcityNotLike(String value) {
            addCriterion("ucity not like", value, "ucity");
            return (Criteria) this;
        }

        public Criteria andUcityIn(List<String> values) {
            addCriterion("ucity in", values, "ucity");
            return (Criteria) this;
        }

        public Criteria andUcityNotIn(List<String> values) {
            addCriterion("ucity not in", values, "ucity");
            return (Criteria) this;
        }

        public Criteria andUcityBetween(String value1, String value2) {
            addCriterion("ucity between", value1, value2, "ucity");
            return (Criteria) this;
        }

        public Criteria andUcityNotBetween(String value1, String value2) {
            addCriterion("ucity not between", value1, value2, "ucity");
            return (Criteria) this;
        }

        public Criteria andUaddressIsNull() {
            addCriterion("uaddress is null");
            return (Criteria) this;
        }

        public Criteria andUaddressIsNotNull() {
            addCriterion("uaddress is not null");
            return (Criteria) this;
        }

        public Criteria andUaddressEqualTo(String value) {
            addCriterion("uaddress =", value, "uaddress");
            return (Criteria) this;
        }

        public Criteria andUaddressNotEqualTo(String value) {
            addCriterion("uaddress <>", value, "uaddress");
            return (Criteria) this;
        }

        public Criteria andUaddressGreaterThan(String value) {
            addCriterion("uaddress >", value, "uaddress");
            return (Criteria) this;
        }

        public Criteria andUaddressGreaterThanOrEqualTo(String value) {
            addCriterion("uaddress >=", value, "uaddress");
            return (Criteria) this;
        }

        public Criteria andUaddressLessThan(String value) {
            addCriterion("uaddress <", value, "uaddress");
            return (Criteria) this;
        }

        public Criteria andUaddressLessThanOrEqualTo(String value) {
            addCriterion("uaddress <=", value, "uaddress");
            return (Criteria) this;
        }

        public Criteria andUaddressLike(String value) {
            addCriterion("uaddress like", value, "uaddress");
            return (Criteria) this;
        }

        public Criteria andUaddressNotLike(String value) {
            addCriterion("uaddress not like", value, "uaddress");
            return (Criteria) this;
        }

        public Criteria andUaddressIn(List<String> values) {
            addCriterion("uaddress in", values, "uaddress");
            return (Criteria) this;
        }

        public Criteria andUaddressNotIn(List<String> values) {
            addCriterion("uaddress not in", values, "uaddress");
            return (Criteria) this;
        }

        public Criteria andUaddressBetween(String value1, String value2) {
            addCriterion("uaddress between", value1, value2, "uaddress");
            return (Criteria) this;
        }

        public Criteria andUaddressNotBetween(String value1, String value2) {
            addCriterion("uaddress not between", value1, value2, "uaddress");
            return (Criteria) this;
        }

        public Criteria andUlognumIsNull() {
            addCriterion("ulognum is null");
            return (Criteria) this;
        }

        public Criteria andUlognumIsNotNull() {
            addCriterion("ulognum is not null");
            return (Criteria) this;
        }

        public Criteria andUlognumEqualTo(String value) {
            addCriterion("ulognum =", value, "ulognum");
            return (Criteria) this;
        }

        public Criteria andUlognumNotEqualTo(String value) {
            addCriterion("ulognum <>", value, "ulognum");
            return (Criteria) this;
        }

        public Criteria andUlognumGreaterThan(String value) {
            addCriterion("ulognum >", value, "ulognum");
            return (Criteria) this;
        }

        public Criteria andUlognumGreaterThanOrEqualTo(String value) {
            addCriterion("ulognum >=", value, "ulognum");
            return (Criteria) this;
        }

        public Criteria andUlognumLessThan(String value) {
            addCriterion("ulognum <", value, "ulognum");
            return (Criteria) this;
        }

        public Criteria andUlognumLessThanOrEqualTo(String value) {
            addCriterion("ulognum <=", value, "ulognum");
            return (Criteria) this;
        }

        public Criteria andUlognumLike(String value) {
            addCriterion("ulognum like", value, "ulognum");
            return (Criteria) this;
        }

        public Criteria andUlognumNotLike(String value) {
            addCriterion("ulognum not like", value, "ulognum");
            return (Criteria) this;
        }

        public Criteria andUlognumIn(List<String> values) {
            addCriterion("ulognum in", values, "ulognum");
            return (Criteria) this;
        }

        public Criteria andUlognumNotIn(List<String> values) {
            addCriterion("ulognum not in", values, "ulognum");
            return (Criteria) this;
        }

        public Criteria andUlognumBetween(String value1, String value2) {
            addCriterion("ulognum between", value1, value2, "ulognum");
            return (Criteria) this;
        }

        public Criteria andUlognumNotBetween(String value1, String value2) {
            addCriterion("ulognum not between", value1, value2, "ulognum");
            return (Criteria) this;
        }

        public Criteria andUtimeIsNull() {
            addCriterion("utime is null");
            return (Criteria) this;
        }

        public Criteria andUtimeIsNotNull() {
            addCriterion("utime is not null");
            return (Criteria) this;
        }

        public Criteria andUtimeEqualTo(Date value) {
            addCriterionForJDBCDate("utime =", value, "utime");
            return (Criteria) this;
        }

        public Criteria andUtimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("utime <>", value, "utime");
            return (Criteria) this;
        }

        public Criteria andUtimeGreaterThan(Date value) {
            addCriterionForJDBCDate("utime >", value, "utime");
            return (Criteria) this;
        }

        public Criteria andUtimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("utime >=", value, "utime");
            return (Criteria) this;
        }

        public Criteria andUtimeLessThan(Date value) {
            addCriterionForJDBCDate("utime <", value, "utime");
            return (Criteria) this;
        }

        public Criteria andUtimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("utime <=", value, "utime");
            return (Criteria) this;
        }

        public Criteria andUtimeIn(List<Date> values) {
            addCriterionForJDBCDate("utime in", values, "utime");
            return (Criteria) this;
        }

        public Criteria andUtimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("utime not in", values, "utime");
            return (Criteria) this;
        }

        public Criteria andUtimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("utime between", value1, value2, "utime");
            return (Criteria) this;
        }

        public Criteria andUtimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("utime not between", value1, value2, "utime");
            return (Criteria) this;
        }

        public Criteria andUtypeIsNull() {
            addCriterion("utype is null");
            return (Criteria) this;
        }

        public Criteria andUtypeIsNotNull() {
            addCriterion("utype is not null");
            return (Criteria) this;
        }

        public Criteria andUtypeEqualTo(Integer value) {
            addCriterion("utype =", value, "utype");
            return (Criteria) this;
        }

        public Criteria andUtypeNotEqualTo(Integer value) {
            addCriterion("utype <>", value, "utype");
            return (Criteria) this;
        }

        public Criteria andUtypeGreaterThan(Integer value) {
            addCriterion("utype >", value, "utype");
            return (Criteria) this;
        }

        public Criteria andUtypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("utype >=", value, "utype");
            return (Criteria) this;
        }

        public Criteria andUtypeLessThan(Integer value) {
            addCriterion("utype <", value, "utype");
            return (Criteria) this;
        }

        public Criteria andUtypeLessThanOrEqualTo(Integer value) {
            addCriterion("utype <=", value, "utype");
            return (Criteria) this;
        }

        public Criteria andUtypeIn(List<Integer> values) {
            addCriterion("utype in", values, "utype");
            return (Criteria) this;
        }

        public Criteria andUtypeNotIn(List<Integer> values) {
            addCriterion("utype not in", values, "utype");
            return (Criteria) this;
        }

        public Criteria andUtypeBetween(Integer value1, Integer value2) {
            addCriterion("utype between", value1, value2, "utype");
            return (Criteria) this;
        }

        public Criteria andUtypeNotBetween(Integer value1, Integer value2) {
            addCriterion("utype not between", value1, value2, "utype");
            return (Criteria) this;
        }

        public Criteria andUztIsNull() {
            addCriterion("uzt is null");
            return (Criteria) this;
        }

        public Criteria andUztIsNotNull() {
            addCriterion("uzt is not null");
            return (Criteria) this;
        }

        public Criteria andUztEqualTo(Integer value) {
            addCriterion("uzt =", value, "uzt");
            return (Criteria) this;
        }

        public Criteria andUztNotEqualTo(Integer value) {
            addCriterion("uzt <>", value, "uzt");
            return (Criteria) this;
        }

        public Criteria andUztGreaterThan(Integer value) {
            addCriterion("uzt >", value, "uzt");
            return (Criteria) this;
        }

        public Criteria andUztGreaterThanOrEqualTo(Integer value) {
            addCriterion("uzt >=", value, "uzt");
            return (Criteria) this;
        }

        public Criteria andUztLessThan(Integer value) {
            addCriterion("uzt <", value, "uzt");
            return (Criteria) this;
        }

        public Criteria andUztLessThanOrEqualTo(Integer value) {
            addCriterion("uzt <=", value, "uzt");
            return (Criteria) this;
        }

        public Criteria andUztIn(List<Integer> values) {
            addCriterion("uzt in", values, "uzt");
            return (Criteria) this;
        }

        public Criteria andUztNotIn(List<Integer> values) {
            addCriterion("uzt not in", values, "uzt");
            return (Criteria) this;
        }

        public Criteria andUztBetween(Integer value1, Integer value2) {
            addCriterion("uzt between", value1, value2, "uzt");
            return (Criteria) this;
        }

        public Criteria andUztNotBetween(Integer value1, Integer value2) {
            addCriterion("uzt not between", value1, value2, "uzt");
            return (Criteria) this;
        }

        public Criteria andUbzIsNull() {
            addCriterion("ubz is null");
            return (Criteria) this;
        }

        public Criteria andUbzIsNotNull() {
            addCriterion("ubz is not null");
            return (Criteria) this;
        }

        public Criteria andUbzEqualTo(String value) {
            addCriterion("ubz =", value, "ubz");
            return (Criteria) this;
        }

        public Criteria andUbzNotEqualTo(String value) {
            addCriterion("ubz <>", value, "ubz");
            return (Criteria) this;
        }

        public Criteria andUbzGreaterThan(String value) {
            addCriterion("ubz >", value, "ubz");
            return (Criteria) this;
        }

        public Criteria andUbzGreaterThanOrEqualTo(String value) {
            addCriterion("ubz >=", value, "ubz");
            return (Criteria) this;
        }

        public Criteria andUbzLessThan(String value) {
            addCriterion("ubz <", value, "ubz");
            return (Criteria) this;
        }

        public Criteria andUbzLessThanOrEqualTo(String value) {
            addCriterion("ubz <=", value, "ubz");
            return (Criteria) this;
        }

        public Criteria andUbzLike(String value) {
            addCriterion("ubz like", value, "ubz");
            return (Criteria) this;
        }

        public Criteria andUbzNotLike(String value) {
            addCriterion("ubz not like", value, "ubz");
            return (Criteria) this;
        }

        public Criteria andUbzIn(List<String> values) {
            addCriterion("ubz in", values, "ubz");
            return (Criteria) this;
        }

        public Criteria andUbzNotIn(List<String> values) {
            addCriterion("ubz not in", values, "ubz");
            return (Criteria) this;
        }

        public Criteria andUbzBetween(String value1, String value2) {
            addCriterion("ubz between", value1, value2, "ubz");
            return (Criteria) this;
        }

        public Criteria andUbzNotBetween(String value1, String value2) {
            addCriterion("ubz not between", value1, value2, "ubz");
            return (Criteria) this;
        }

        public Criteria andUbz1IsNull() {
            addCriterion("ubz1 is null");
            return (Criteria) this;
        }

        public Criteria andUbz1IsNotNull() {
            addCriterion("ubz1 is not null");
            return (Criteria) this;
        }

        public Criteria andUbz1EqualTo(String value) {
            addCriterion("ubz1 =", value, "ubz1");
            return (Criteria) this;
        }

        public Criteria andUbz1NotEqualTo(String value) {
            addCriterion("ubz1 <>", value, "ubz1");
            return (Criteria) this;
        }

        public Criteria andUbz1GreaterThan(String value) {
            addCriterion("ubz1 >", value, "ubz1");
            return (Criteria) this;
        }

        public Criteria andUbz1GreaterThanOrEqualTo(String value) {
            addCriterion("ubz1 >=", value, "ubz1");
            return (Criteria) this;
        }

        public Criteria andUbz1LessThan(String value) {
            addCriterion("ubz1 <", value, "ubz1");
            return (Criteria) this;
        }

        public Criteria andUbz1LessThanOrEqualTo(String value) {
            addCriterion("ubz1 <=", value, "ubz1");
            return (Criteria) this;
        }

        public Criteria andUbz1Like(String value) {
            addCriterion("ubz1 like", value, "ubz1");
            return (Criteria) this;
        }

        public Criteria andUbz1NotLike(String value) {
            addCriterion("ubz1 not like", value, "ubz1");
            return (Criteria) this;
        }

        public Criteria andUbz1In(List<String> values) {
            addCriterion("ubz1 in", values, "ubz1");
            return (Criteria) this;
        }

        public Criteria andUbz1NotIn(List<String> values) {
            addCriterion("ubz1 not in", values, "ubz1");
            return (Criteria) this;
        }

        public Criteria andUbz1Between(String value1, String value2) {
            addCriterion("ubz1 between", value1, value2, "ubz1");
            return (Criteria) this;
        }

        public Criteria andUbz1NotBetween(String value1, String value2) {
            addCriterion("ubz1 not between", value1, value2, "ubz1");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}